/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.ifal.bd;


import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author VagnerSilva
 */
public class FabricaConexao {

    public java.sql.Connection fabricaConexao() throws SQLException {
        return DriverManager.getConnection("jdbc:mysql://localhost/supermercado", "root", "123");
    }
}
